<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>学生选课系统</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link href="themes/css/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<a href="#"><img src="themes/default/images/login_logo1.gif" /></a>
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
						<li><a href="#">设为首页</a></li>
						<li><a href="#">升级说明</a></li>
						<li><a href="#">反馈</a></li>
						<li><a href="#">帮助</a></li>
					</ul>
				</div>
				<h2 class="login_title"><img src="themes/default/images/login_title.png" /></h2>
			</div>
		</div>
		<div id="login_content">
			<div class="loginForm">
				<form action="UserInfoServlet.do?command=login" method="post">
				    <p style="color:red">${message}</p>
				    <p><label>角色</label>
				       <select class="login_input" name="userType">
				           <option value="0">管理员</option>
				           <option value="1">教师</option>
				           <option value="2">学生</option>
				       </select>
				    </p>
					<p>
						<label>账号:</label>
						<input type="text" size="20" class="login_input" name="userCode" value="${param.userCode }" />
					</p>
					<p>
						<label>密码:</label>
						<input type="password" size="20" class="login_input" name="userPwd"/>
					</p>
					<p>
						<label>验证:</label>
						<input class="code" type="text" size="6" name="userVerify"/>
						<span><img src="themes/default/images/header_bg.png" alt="" width="72" height="24" /></span>
					</p>
					<div class="login_bar">
						<input class="sub" type="submit" value=" " />
					</div>
				</form>
			</div>
			<div class="login_banner"><img src="themes/default/images/login_banner1.jpg" /></div>
			<div class="login_main">
				<ul class="helpList">
					<li><a href="#">忘记密码</a></li>
					<li><a href="#">登录失败</a></li>
				</ul>
				<div class="login_inner">
					<p>教师可以使用本系统选课,选班级,给自己所上课学生打成绩</p>
					<p>学生可以使用本系统选课，查询成绩</p>
				</div>
			</div>
		</div>
		<div id="login_footer">
			Copyright &copy; 2010 www.xxxxx.com Inc. All Rights Reserved.
		</div>
	</div>
</body>
</html>